package com.zcsy.commons.sms.dlife;


public class Header implements java.io.Serializable{
    public String state, msg;
    
    public Header(){
        this.state = "0000";//默认为0000表示成功
    }
    public Header(String state, String msg){
        this.state = state;
        this.msg = msg;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
    
    public boolean isOK(){
    	return "0000".equals(state);
    }
}